<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>BVLGARI Store Locator</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="../../css/public.css" media="all"/>
</head>
<body class="childrenBody">
<form class="layui-form">
    <blockquote class="layui-elem-quote quoteBox">
        <form class="layui-form">
            <div class="layui-row layui-right">
                <a class="layui-btn  addNews_btn"><i class="layui-icon"></i>添加用户</a>
            </div>
        </form>
    </blockquote>
    <table id="userList" lay-filter="userList"></table>
    <!--操作-->
    <script type="text/html" id="userListBar">
        {{#  if(d.role === 1){ }}
        <a class="layui-btn layui-btn-xs" id="btn-editadmin" lay-event="editadmin">编辑</a>
        {{#  }else{ }}
        <a class="layui-btn layui-btn-xs" id="btn-edituser" lay-event="edituser">编辑</a>
        <a class="layui-btn layui-btn-xs layui-btn-danger" id="btn-del" lay-event="del">删除</a>
        {{#  if(d.isvalid === 1){ }}
        <a class="layui-btn layui-btn-xs layui-btn-warm" id="btn-disabled" lay-event="disabled">禁用</a>
        {{#  }else if(d.isvalid === 0){ }}
        <a class="layui-btn layui-btn-xs layui-btn-warm" id="btn-enabled" lay-event="enabled">启用</a>
        {{#  } }}
        {{#  } }}
    </script>
    <div id="userPagination"></div>
</form>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="adminUserList.js"></script>
</body>
</html>